﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DIWAGIS.ApplicationLayer
{
    public partial class vePhanMem : Form
    {
        public vePhanMem()
        {
            InitializeComponent();
        }

        private void vePhanMem_Load(object sender, EventArgs e)
        {
            this.linkLabel2.Links.Add(0,12,"www.diadu.vn");
            this.linkLabel1.Links.Add(0, 14, "sales@diadu.vn");
        }

        private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            System.Diagnostics.Process.Start(e.Link.LinkData.ToString());
        }

        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            System.Diagnostics.Process.Start("mailto:sales@diadu.vn");
            //System.Diagnostics.Process proc = new System.Diagnostics.Process();
            //proc.StartInfo.FileName = "mailto:someone@somewhere.com?subject=hello&body=love my body";
            //proc.Start();
        }
    }
}
